package com.example.module_home.testmvi2

import com.example.lib_mvicore.IState

import com.ivideo.home.model.entity.MutilTypeEntity
import com.ivideo.home.model.entity.SimpleTypeEntity

/**
 * @author yaotianxue
 * @description
 * @date 2024/10/25
 */
sealed class VideoTypeState:IState {
    object Loading: VideoTypeState() //数据加载中
    object Empty: VideoTypeState() //空数据
    data class Error(val msg:String): VideoTypeState() //失败
    data class GetSimpleTypeSuccess(val data:List<SimpleTypeEntity>): VideoTypeState() //成功
    data class GetMutilTypeSuccess(val data:List<MutilTypeEntity>): VideoTypeState() //成功
    data class GetMutilTypeByPidSuccess(val data:List<MutilTypeEntity>): VideoTypeState() //成功
}